package com.github.shiqiyue.app.api.sapi.controller.dbms.req;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/***
 * 用户SQL收藏添加 请求参数
 * @author wenyao.wu
 * @date 2019/8/12
 */
@Data
public class UserSqlCollectAddReq {

    @NotNull
    private Long databaseId;

    @NotEmpty
    private String sql;

    @NotEmpty
    private String name;
}
